﻿<%@ Page Language="C#" MasterPageFile="~/Adminstrator/Admin.master" AutoEventWireup="true"
    CodeBehind="DanhSachLienHe.aspx.cs" Inherits="VietGap_DV.Adminstrator.DanhSachLienHe"
    Title="Danh sách liên hệ" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" runat="server">
    <div class="main-content-fix">
        <div class="container_12">
            <div class="grid_12">
            </div>
            <link href="../CSS/Grid_View.css" rel="stylesheet" type="text/css">
            <h2>
                Quản Lý Thông Tin Liên Hệ
            </h2>
            <table style="width: 100%; margin-top: 20px; height: auto;">
                <tbody>
                    <tr>
                        <td width="100%">
                            <span id="ctl00_ctMain_ctl00_lblThongbao" style="color: Red;"></span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Tìm kiếm&nbsp; :&nbsp;
                            <input name="ctl00$ctMain$ctl00$txtSearchByID" type="text" id="ctl00_ctMain_ctl00_txtSearchByID"
                                style="width: 234px;" class="text">
                            &nbsp;&nbsp;<span id="ctl00_ctMain_ctl00_Label1">ID:</span><input name="ctl00$ctMain$ctl00$txtID"
                                type="text" id="ctl00_ctMain_ctl00_txtID" style="width: 50px;" class="text">
                            <a id="ctl00_ctMain_ctl00_btnSearchByID" href="javascript:__doPostBack('ctl00$ctMain$ctl00$btnSearchByID','')">
                                Tìm kiếm</a>| <a id="ctl00_ctMain_ctl00_btnShowAll" href="javascript:__doPostBack('ctl00$ctMain$ctl00$btnShowAll','')">
                                    Hiện toàn bộ</a>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div>
                                <table class="Grid" cellspacing="0" rules="all" border="1" id="ctl00_ctMain_ctl00_grvContact"
                                    style="border-collapse: collapse;">
                                    <tbody>
                                        <tr class="GridHeader">
                                            <th scope="col" style="width: 25px;">
                                                <input type="checkbox" style="width: 20px;" id="chkAll" onclick="javascript:checkAll(this,'grvContact','chkDelete');">
                                            </th>
                                            <th scope="col">
                                                <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvContact','Sort$PK_iContactID')">
                                                    ID</a>
                                            </th>
                                            <th scope="col">
                                                <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvContact','Sort$sHoTen')">Họ
                                                    tên</a>
                                            </th>
                                            <th scope="col">
                                                <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvContact','Sort$sDienThoai')">
                                                    Điện thoại</a>
                                            </th>
                                            <th scope="col">
                                                <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvContact','Sort$sEmail')">Fax</a>
                                            </th>
                                            <th scope="col">
                                                Sửa
                                            </th>
                                        </tr>
                                        <tr>
                                            <td>
                                                <input id="ctl00_ctMain_ctl00_grvContact_ctl02_chkDelete" type="checkbox" name="ctl00$ctMain$ctl00$grvContact$ctl02$chkDelete">
                                            </td>
                                            <td>
                                                5
                                            </td>
                                            <td>
                                                Bùi minh hùng
                                            </td>
                                            <td>
                                                0913025788
                                            </td>
                                            <td>
                                                nhuvancan@gmail.com
                                            </td>
                                            <td>
                                                <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvContact','Select$0')">Sửa</a>
                                            </td>
                                        </tr>
                                        <tr class="GridAltItem">
                                            <td>
                                                <input id="ctl00_ctMain_ctl00_grvContact_ctl03_chkDelete" type="checkbox" name="ctl00$ctMain$ctl00$grvContact$ctl03$chkDelete">
                                            </td>
                                            <td>
                                                4
                                            </td>
                                            <td>
                                                Trần Bình minh
                                            </td>
                                            <td>
                                                0943042088
                                            </td>
                                            <td>
                                                nguyenhuydiennafec@gmail.com
                                            </td>
                                            <td>
                                                <a href="javascript:__doPostBack('ctl00$ctMain$ctl00$grvContact','Select$1')">Sửa</a>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a id="ctl00_ctMain_ctl00_lbtnAdd" href="javascript:__doPostBack('ctl00$ctMain$ctl00$lbtnAdd','')">
                                Thêm mới | </a><a onclick="return confirm('Chắc chắn xóa?');" id="ctl00_ctMain_ctl00_lbtnDelete"
                                    href="javascript:__doPostBack('ctl00$ctMain$ctl00$lbtnDelete','')">Xóa đã chọn</a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <h3>Thêm thông tin liên hệ</h3>
    <div>
    
        <div class="m">
            <fieldset>
                <legend>Thông tin liên hệ</legend>
                <div class="a">
                    <div class="l">
                        <span id="ctl00_ctMain_ctl00_lblContact">Họ tên</span></div>
                    <div class="r">
                        <input name="ctl00$ctMain$ctl00$txtHoTen" type="text" id="ctl00_ctMain_ctl00_txtHoTen"
                            class="txtbox text">
                    </div>
                    <div class="rr">
                        <span id="ctl00_ctMain_ctl00_RequiredFieldValidator1" style="color: Red; margin̉-left: 10px;
                            display: none;">Không được để trống!</span>
                    </div>
                </div>
                <div class="a">
                    <div class="l">
                        <span id="ctl00_ctMain_ctl00_lblPhongBan">Phòng</span></div>
                    <div class="r">
                        <div class="selector" id="uniform-ctl00_ctMain_ctl00_ddlPhong">
                            <select name="ctl00$ctMain$ctl00$ddlPhong" id="ctl00_ctMain_ctl00_ddlPhong"
                                >
                                <option selected="selected" value="6">IPMU</option>
                                <option value="7">Cục Trồng trọt</option>
                            </select></div>
                    </div>
                    <div class="rr">
                    </div>
                </div>
                <div class="a">
                    <div class="l">
                        <span id="ctl00_ctMain_ctl00_lblChucVu">Chức Vụ</span></div>
                    <div class="r">
                        <div class="selector" id="uniform-ctl00_ctMain_ctl00_ddlChucVu">
                            <select name="ctl00$ctMain$ctl00$ddlChucVu" id="ctl00_ctMain_ctl00_ddlChucVu"
                                >
                                <option selected="selected" value="7">Vụ trưởng</option>
                                <option value="8">Phó Vụ trưởng</option>
                                <option value="9">Chuyên viên</option>
                                <option value="10">Phó Tổng cục trưởng</option>
                            </select></div>
                    </div>
                    <div class="rr">
                    </div>
                </div>
                <div class="a">
                    <div class="l">
                        <span id="ctl00_ctMain_ctl00_lblDienThoai">Điện thoại</span>
                    </div>
                    <div class="r">
                        <input name="ctl00$ctMain$ctl00$txtDienThoai" type="text" id="ctl00_ctMain_ctl00_txtDienThoai"
                            class="txtbox text">
                    </div>
                    <div class="rr">
                        <span id="ctl00_ctMain_ctl00_RequiredFieldValidator2" style="color: Red; margin̉-left: 10px;
                            display: none;">Không được để trống!</span>
                    </div>
                </div>
                <div class="a">
                    <div class="l">
                        <span id="ctl00_ctMain_ctl00_lblEmail">Email</span>
                    </div>
                    <div class="r">
                        <input name="ctl00$ctMain$ctl00$txtEmail" type="text" id="ctl00_ctMain_ctl00_txtEmail"
                            class="txtbox text">
                    </div>
                    <div class="rr">
                        <span id="ctl00_ctMain_ctl00_RequiredFieldValidator3" style="color: Red; margin̉-left: 10px;
                            display: none;">Không được để trống!</span>
                    </div>
                </div>
                <div class="a">
                    <div class="l">
                    </div>
                    <div class="r">
                        <input type="submit" name="ctl00$ctMain$ctl00$btnOK" value="Thêm" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ctMain$ctl00$btnOK&quot;, &quot;&quot;, true, &quot;adding&quot;, &quot;&quot;, false, false))"
                            id="ctl00_ctMain_ctl00_btnOK" class="button" style="width: 90px;">
                        <input type="submit" name="ctl00$ctMain$ctl00$btnCancel" value="Huỷ" id="ctl00_ctMain_ctl00_btnCancel"
                            class="button" style="width: 90px;">
                    </div>
                    <div class="rr">
                    </div>
                </div>
                <div class="a">
                </div>
            </fieldset>
        </div>
    </div>
</asp:Content>
